﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>在被选元素后插入内容</title>
    <script src="jquery.min.js">
    </script>
    <script>
        $(document).ready(function () {
            $("button").click(function () {
                $("p").after("<p>Hello jQuery!</p>");
            });
        });
    </script>
</head>
<body>
    <button>插入节点</button>
    <p>夜来风雨声，</p>
    <p>花落知多少。</p>
</body>
</html>